home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr48
/
pasclern.zip
/
PRINTOUT.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1993-04-01
|
378b
|
16 lines
PROGRAM printout_example;
VAR index : BYTE;
BEGIN
WRITELN(output,'Printer program example');
WRITELN(output,'Turn on your printer and install paper in it.');
WRITELN(lst,'This is to demonstrate printing in Pascal');
WRITELN(lst);
FOR index := 1 TO 15 DO
BEGIN
WRITE(lst,'The index value is ');
WRITE(lst,index:3);
WRITELN(lst,' at this point');
END;
END.